/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.gui.Gui;
/*    */ import org.lwjgl.opengl.GL11;
/*    */ 
/*    */ public class po
/*    */   extends Gui
/*    */ {
/*    */   public static final int l = 9;
/*    */   public static final int t = 9;
/* 12 */   private Minecraft d = Minecraft.func_71410_x();
/*    */   
/*    */   private byte z;
/*    */   private int i;
/*    */   private int w;
/*    */   private boolean q;
/*    */   private long g;
/*    */   
/*    */   public po(byte b, int i, int j) {
/* 21 */     this.z = b;
/* 22 */     this.i = i;
/* 23 */     this.w = j;
/*    */   }
/*    */   
/*    */   public void draw(int i, int j) {
/* 27 */     this.d.field_71446_o.func_110577_a(uw.m);
/*    */     
/* 29 */     if (inBounds(i, j)) {
/* 30 */       Gui.func_73734_a(this.i, this.w, this.i + 9, this.w + 9, -2130706433);
/* 31 */       if (this.g == -1L)
/* 32 */         this.g = System.currentTimeMillis(); 
/*    */     } else {
/* 34 */       this.g = -1L;
/*    */     } 
/* 36 */     GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
/* 37 */     if (this.q) {
/* 38 */       func_73729_b(this.i, this.w, (this.z - 1) * 9, 18, 9, 9);
/*    */     }
/* 40 */     if (this.g != -1L && System.currentTimeMillis() - this.g > 300L) {
/* 41 */       v(i, j);
/*    */     }
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public void setEnabled(boolean bool) {
/* 54 */     this.q = bool;
/*    */   }
/*    */   
/*    */   public boolean isEnabled() {
/* 58 */     return this.q;
/*    */   }
/*    */   
/*    */   public boolean inBounds(int i, int j) {
/* 62 */     return (this.q && i >= this.i && j >= this.w && i < this.i + 9 && j < this.w + 9);
/*    */   }
/*    */   
/*    */   public byte getId() {
/* 66 */     return this.z;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\po.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */